<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:actionmessage/>
<s:actionerror />

<ul>
    <li>
        name <s:property value="hostServer.name"/>
    </li>
    <li>
        host <s:property value="hostServer.host"/>
    </li>
    <li>
        serverType <s:property value="hostServer.serverType"/>
    </li>
    <li>
        processorCount <s:property value="hostServer.manager.processorCount"/>
    </li>
    <li>
        memoryAvailable <s:property value="hostServer.manager.memoryAvailable"/> of <s:property value="hostServer.manager.memorySize"/>
    </li>
    <li>
        operatingSystem <s:property value="hostServer.manager.operatingSystem"/>
    </li>
</ul>


<table border="1">
    <s:iterator value="hostServer.virtualMachines">
        <tr>
            <td>
                <a href="#VirtualMachine/<s:property value="id"/>">
                    <s:property value="name"/></a>
            </td>
            <td>
                <s:property value="OSType"/>
            </td>
        </tr>
    </s:iterator>
</table>